package Excuse;

public class Test {
    public static void main(String[] args) {

        int[] sore = new int[]{1, 3, 5, 7, 9, 11};
        GetScoreAverge getScoreAverge = new GetScoreAverge();
        float f = getScoreAverge.getAverage(sore);
        System.out.println("平均数为：" + f);
        //Fault(2)
        int x = getScoreAverge.get_max(3, 2, 1);
        System.out.println(x);

        //Fault-Error(3)
        int y = getScoreAverge.get_max(3, 2, 5);
        System.out.println(y);

        //Fault-error-Faiule
        int z = getScoreAverge.get_max(1, 10, 5);
        System.out.println(z);

    }
}
